package com.example.vo;

import lombok.Data;

import java.util.List;

// 试题包详情VO
@Data
public class ExamPaperPackageDetailVO {
    private int id;
    private String packName;
    private String version;
    private int isPublic;
    private int busiTypeId1;
    private String busiTypeName1;
    private String busiType1;
    private int busiTypeId2;
    private String busiTypeName2;
    private int busiTypeId3;
    private String busiTypeName3;
    private List<Question> questions; // 使用 Question

    // 内部类：试题
    @Data
    public static class Question {
        private int id; // ID
        private String version; // 版本
        private String questionType; // 问题类型：radio-单选, checkbox-多选, judge-判断
        private String busiTypeId1; // 一级业务类型ID
        private String busiTypeName1; // 一级业务类型名称
        private String busiType1; // 一级业务类型
        private String busiTypeId2; // 二级业务类型ID
        private String busiTypeName2; // 二级业务类型名称
        private String busiTypeId3; // 三级业务类型ID
        private String busiTypeName3; // 三级业务类型名称
        private String qsContent; // 题面
        private String qsCorrectAns; // 答案
        private String keyword; // 关键字
        private String analysis; // 解析
        private String correctAnsJson; // 选项 JSON 串
        private String level; // 问题等级：1-初级, 2-中级, 3-高级
        private String status; // 问题状态：0-正常, 99-删除
    }
}
